package com.xgg.taiwuinfo.gongfa.shaolin.quanzhang;

import com.xgg.taiwuinfo.R;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cast;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Body;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Damage;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Hit;
import com.xgg.taiwuinfo.gongfa.base.Gongfa;
import com.xgg.taiwuinfo.gongfa.base.Gongfa_Cuipo_Quanzhang;
import com.xgg.taiwuinfo.gongfa.readingeffect.Reading_Text;
import com.xgg.taiwuinfo.utils.Element;
import com.xgg.taiwuinfo.utils.Inherit;
import com.xgg.taiwuinfo.utils.Requirement;

public class DaTongBiQuan extends Gongfa_Cuipo_Quanzhang {

    public DaTongBiQuan()
    {
        super("大通臂拳" , 7 , Element.ELEMENT_METAL , Inherit.INHERIT_SHAOLIN);
        mGridOccupy = 1;
        //式
        Shi = new int[] { 2 , 0 , 0};
        //施法时间及气势
        ability_cast = new Ability_Cast(20 , 100, 0);
        //命中分布
        ability_cuipo_hit = new Ability_Cuipo_Hit(new int[] {2,3,5}, new int[] { 96, 112, 128});
        //攻击部位
        ability_cuipo_body = new Ability_Cuipo_Body(new int[]{
                /*胸腰头*/         35, 20, 1,
                /*四肢*/           10, 10, 5,  5,
                /*心神，毒，全身*/ 0,  0,  0
        });
        ability_cuipo_damage = new Ability_Cuipo_Damage(26.4,40,0,1.0 , 0 , 8);
        PushYunGongObject(Gongfa.ABL_INDEX_Jingmiao ,40 );
        PushYunGongObject(Gongfa.ABL_INDEX_Lidao ,40 );
        PushYunGongObject(Gongfa.ABL_INDEX_Xunji, 40);
        InitYunGongAbility();

        mGongfaRequired[Requirement.GF_QZ] = 190;
        mAttrRequired[Requirement.ATTR_LL] = 45;
        mAttrRequired[Requirement.ATTR_TZ] = 60;
        mAttrRequired[Requirement.ATTR_DL] = 90;
        mJiyiRequired[Requirement.JY_FX] = 190;

        PosfullReading = new Reading_Text(R.string.reading_datongbiquan_pos);
        NegfullReading = new Reading_Text(R.string.reading_datongbiquan_neg);
    }
}
